import {
	http
} from '@/external/service/service.js'
import configService from '@/external/service/config.service.js';
export default class messageApi {
	// 系统消息
	async getSysMessageListApi(params) {
		let res = await http.post('/yjd/v1/message/getSysMessageList', params)
		return res.data
	}
	// 获取祭拜消息
	async getJibaiMessageListApi(params) {
		let res = await http.post('/yjd/v1/message/getJibaiMessageList', params)
		return res.data
	}
	// 获取点赞消息
	async getLikeMessageListApi(params) {
		let res = await http.post('/yjd/v1/message/getLikeMessageList', params)
		return res.data
	}
	// 获取留言消息
	async getReportMessageListApi(params) {
		let res = await http.post('/yjd/v1/message/getReportMessageList', params)
		return res.data
	}
	// 消息未读数目
	async getMessageNewCoutApi(params) {
		let res = await http.post('/yjd/v1/message/getMessageNewCout', params)
		return res.data
	}
	// 消息已读
	async readedMessageApi(params) {
		let res = await http.post('/yjd/v1/message/readedMessage', params)
		return res.data
	}
	// 消息全读
	async readedAllMessageApi(params) {
		let res = await http.post('/yjd/v1/message/readedAllMessage', params)
		return res.data
	}
	// 消息删除(未做)
	async deleteMessageApi(params) {
		let res = await http.post('/yjd/v1/message/deleteMessage', params)
		return res.data
	}
}